package cn.edu.jlu.community.app.post.news;


import android.support.v4.app.Fragment;

import cn.edu.jlu.community.R;
import cn.edu.jlu.community.app.post.PostListFragment;

/**
 * A simple {@link Fragment} subclass.
 */
public class NewsFragment extends PostListFragment{

    public static NewsFragment newInstance(int category) {
        return PostListFragment.newInstance(category, "动态",NewsFragment.class);
    }

    public NewsFragment() {
    }

    @Override
    protected int getLayout() {
        return R.layout.news_fragment;
    }
}
